package com.ants.boot.system.dto.sysuser;

import com.ants.boot.system.dto.PageDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;

/**
 * @author 蚂蚁会花呗
 * @date 2022/3/17 10:19
 */
@ApiModel(value = "用户信息搜索查询分页对象")
public class QueryUserDto extends PageDto {

    @NotNull(message = "用户名不能为空！")
    @ApiModelProperty(value = "用户名", required = true)
    private String username;

    @NotNull(message = "创建时间不能为空！")
    @ApiModelProperty(value = "创建时间", required = true)
    private String createTime;

    @ApiModelProperty(value = "状态,默认值为空白字符串")
    @NotNull(message = "状态不能为空！")
    private String status;

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
